// src/stores/index.ts
import { defineStore } from "pinia";

export const useMainStore = defineStore("main", {
  state: () => ({
    count: 0,
    settingStatus: false,
  }),
  actions: {
    increment() {
      this.count++;
    },
    changeSettingStatus(value: boolean) {
      this.settingStatus = value;
    },
  },
});
